MailPoet\Subscribers\SubscriberSubscribeController S

Total Complexity 38
Dependencies 22
Dependents 4
Total lines 266
Lines of code 144
Logical lines of code 102
Comment lines 44
Methods 9
Properties 14

Methods 9

Method Rating Maintainability Complexity Lines of code
subscribe()
A
40 13 54
initCaptcha()
S
56 7 17
validateCaptcha()
S
59 5 16
getSegmentIds()
S
62 3 12
addTagsToSubscriber()
S
61 3 12
getForm()
S
65 3 8
__construct()
S
58 1 16
isSubscribedToAnyFormSegments()
S
69 2 6
deobfuscateFormPayload()
S
80 1 3